package com.mls.fivedistrict.pojo;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by lixixi on 2018/5/28.
 */
@Getter
@Setter
public class UserVoteRequest {

    /**
     * 用户ID
     */
//    @NotNull(message = "用户ID不能为空")
    private Long userId;
    /**
     * 投票ID
     */
    @NotNull(message = "投票ID不能为空")
    private Long voteId;
    /**
     * 投票选项ID
     */
    @NotNull(message = "投票选项不能为空")
    private List<Long> voteOptionIdList;
    /**
     * 钱包密码
     */
    private String walletPassword;
}
